package it.mp.multitask.factory;

import it.mp.multitask.Setup;

public class PreferenceFactory {
	private PreferenceFactory(){
		super();
	}
	public static final Preference getStyle(int styleScelto,Setup prefs){
		if (styleScelto==0){
			return new PreferenceStandard(prefs);
		}else if (styleScelto==1){
			return new PreferenceDialog(prefs);
		}else if (styleScelto==2){
			return new PreferenceIphone(prefs);
		}else{
			return new PreferenceStandard(prefs);
		}
	}
}
